#ifndef  __TAPPCORE_H_
#define __TAPPCORE_H_

#include "../include/core_itf.h"
#include "tvideoplayer.h"
#include "tmediasource.h"
#include "tmediatypehelper.h"

class TAppCore : public IAppCore
{
public:
	TAppCore();
	~TAppCore();
	//IAppCore
	HRESULT SetDisplayWindow(HWND hWnd);
	HRESULT  HandleEvent(TEvent * ) ;
	 void Destroy();
	 bool GetMediaType(TMediaSource *source, MprMediaType &mt, CMediaType &mediaType);

	 TMediaSource *m_source;
	 TVideoPlayer  *m_player;
};

#endif //  __TAPPCORE_H_
